﻿@using GC_RF.Domain.Enums
@model UserRole
@{
	Layout = null;
}

<div class="main_menu">
	<ul class="menu">
		<li><a href="@(WebBuilder.BuildActionUrl<HomeController>(m => m.Index()))" data-toggle="tooltip" data-original-title="ГЛАВНАЯ"><i class="fa fa-home"></i></a></li>
		@if (Model == UserRole.Administrator || Model == UserRole.Moderator)
		{
			<li><a href="@(WebBuilder.BuildActionUrl<AdminController>(m => m.Settings()))" data-toggle="tooltip" data-original-title="АДМИН. ПАНЕЛЬ"><i class="fa fa-shield"></i></a></li>
		}
	</ul>
</div>
